package com.vehicle.service;

import com.vehicle.bean.Contact;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vehicle.form.ContactForm;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-04-20
 */
@Service
public interface ContactService extends IService<Contact> {
    //插入数据
    public Integer insertContact(ContactForm contactForm);
    //查询数据
    public ContactForm getContactById(Integer contactId);
    //修改数据
    public Boolean updateTheContact(ContactForm contactForm);
//    删除数据
    public Boolean deleteContactById(Integer contactId);
}
